import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
    //1.导入vant.js
import './utils/vant.js'

//导入amfe-flexible
import 'amfe-flexible'

//导入时间插件
import moment from 'moment'
moment.locale('zh-cn');
//设置全局过滤器
Vue.filter('myShowTime', function(value) {
    return moment(value).fromNow();
})

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')